package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 学生用户关联表
 * </p>
 *
 * @author zfy
 * @since 2020-08-06
 */
@Data
@TableName("sys_student")
public class SysStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "student_id", type = IdType.AUTO)
    private Long studentId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 班级ID
     */
    private Long schoolClassId;

    /**
     * 考生号
     */
    private String studentCode;

    /**
     *  证件照
     */
    private String passportPhoto;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private Long createUser;
    /**
     * 状态(字典)
     */
    @TableField("status")
    private String status;

    /**
     * 备注
     */
    private String remarks;

}
